package com.aliyun.heiyu.powermaster.server.dao.entity;

import java.io.Serializable;
import java.util.List;

public class RackConfig implements Serializable, Comparable<RackConfig>{
        private static final long serialVersionUID = 69958013708347203L;
        private String idc;
        private String rackCode;
        private String ratedPower;
        private Integer networkPower;
        private List<ServerThunderDto> servers;
        private PowerCappingPolicyDto policy;
        private Boolean capping;
        private Boolean collect;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getIdc() {
        return idc;
    }

    public void setIdc(String idc) {
        this.idc = idc;
    }

    public String getRackCode() {
        return rackCode;
    }

    public void setRackCode(String rackCode) {
        this.rackCode = rackCode;
    }

    public String getRatedPower() {
        return ratedPower;
    }

    public void setRatedPower(String ratedPower) {
        this.ratedPower = ratedPower;
    }

    public Integer getNetworkPower() {
        return networkPower;
    }

    public void setNetworkPower(Integer networkPower) {
        this.networkPower = networkPower;
    }

    public List<ServerThunderDto> getServers() {
        return servers;
    }

    public void setServers(List<ServerThunderDto> servers) {
        this.servers = servers;
    }

    public PowerCappingPolicyDto getPolicy() {
        return policy;
    }

    public void setPolicy(PowerCappingPolicyDto policy) {
        this.policy = policy;
    }

    public Boolean getCapping() {
        return capping;
    }

    public void setCapping(Boolean capping) {
        this.capping = capping;
    }

    public Boolean getCollect() {
        return collect;
    }

    public void setCollect(Boolean collect) {
        this.collect = collect;
    }

    @Override
    public String toString() {
        return "{" +
            "idc:'" + idc + '\'' +
            ", rackCode:'" + rackCode + '\'' +
            ", ratedPower:" + ratedPower +
            ", networkPower:" + networkPower +
            ", servers:" + servers +
            ", policy:" + policy +
            ", capping:" + capping +
            ", collect:" + collect +
            '}';
    }

    @Override
    public int compareTo(RackConfig o) {
        return 0;
    }
}
